package com.li.entity;

import org.springframework.beans.factory.annotation.Required;

import java.util.List;

/**
 * @Description：
 * @Author：LiDong
 * @Create：2020/10/19
 * @Version：1.0.0
 */
public class Student {

    private int id;
    private String name;

    List<String> list;

    public int getId() {
        return id;
    }

    @Required
    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    @Required
    public void setName(String name) {
        this.name = name;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", list=" + list +
                '}';
    }
}
